package com.dong.mq_client.rocketMq;

import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
import org.apache.rocketmq.spring.core.RocketMQListener;
import org.springframework.stereotype.Component;

//@Component
//@RocketMQMessageListener(consumerGroup = "dongGroup", topic = "TestTopic")
//public class RocketConsumer implements RocketMQListener {
//    @Override
//    public void onMessage(Object message) {
//        System.out.println("Received message : "+ message);
//    }
//}
